package com.cb.myzhxy.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.cb.myzhxy.pojo.LoginForm;
import com.cb.myzhxy.pojo.Student;

/**
*
*/
public interface StudentService extends IService<Student> {

    /**
     * 学生登录
     * @param loginForm
     * @return
     */
    Student login(LoginForm loginForm);

    Student getStudentById(Long userId);

    //查询学生信息,分页带条件
    IPage<Student> getStudentByOpr(Page<Student> page, Student student);
}
